package io.github.yotta.logger.core.aop;

import org.springframework.aop.Pointcut;
import org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor;

/**
 * @author yotta
 * @date 2023/3/22 13:15
 */
public class LogAdvisor extends AbstractBeanFactoryPointcutAdvisor {

    private final LogPointcut logPointcut;

    public LogAdvisor(LogPointcut logPointcut) {
        this.logPointcut = logPointcut;
    }


    @Override
    public Pointcut getPointcut() {
        return this.logPointcut;
    }

}
